package world.edges;

/**
 * Class representing a border element.
 * 
 * @author Frederic Mes, Wim Marynissen
 * @version 1.0
 */
public abstract class BorderElement {
	
	/**
	 * Check if this element is an obstacle.
	 * @return	False if the border element is non-effective
	 * 			| if (expression == null)
	 *        	|   then result == false
	 */
	public abstract boolean isObstacle();
	
	/**
	 * Get the rank of this border element, in order to know which one to keep when sharing borders.
	 * @return	Integer which indicates the importance of the border element.
	 */
    public abstract int getImportanceInSharing();
	
}
